package com.example.logs.server;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.MDC;
import org.slf4j.Marker;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class UserController {
    @PostMapping("/user")
    public void addUser(){
        MDC.put("THREAD_ID", String.valueOf(Thread.currentThread().getId()));
        BusinessUtils.printInfo("add user",LogModuleEnum.ADMIN,LogCategoryEnum.DIFF_CONFIG,LogSubCategoryEnum.DIFF_CONFIG_SEND,"add","32211");
    }
}
